package com.yao.spider.yiyao.dao;

import com.yao.spider.yiyao.bean.YaoYuanWang;
import org.apache.ibatis.session.SqlSession;

import java.util.List;

public interface YaoYuanWangDao {
    int insert(YaoYuanWang personInfo, SqlSession session);
    int batchInsert(List<YaoYuanWang> list, SqlSession session);
    List<YaoYuanWang> selectUrlIsNull(SqlSession session);

    void updateShiY(Integer id,String shiY, SqlSession sqlSession);

    YaoYuanWang selectByApplyNo(SqlSession sqlSession, String applyNo);

    YaoYuanWang selectByName(SqlSession sqlSession, String medicineName);
}
